from rest_framework import serializers
from django.db.models import Q

from .models import City, CityPage, DanceCompany

class CitySerializer(serializers.ModelSerializer):
    class Meta:
        model = City
        fields = "__all__"

class CityPageSerializer(serializers.ModelSerializer):
    class Meta:
        model = CityPage
        fields = "__all__"

class DanceCompanySerializer(serializers.ModelSerializer):
    class Meta:
        model = DanceCompany
        fields = "__all__"

